﻿using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using System;
using System.ComponentModel;

namespace KDS.Mes.Mes.Lines.Dtos
{
    /// <summary>
    /// 线体信息列表Dto
    /// </summary>
    [AutoMapFrom(typeof(Line))]
    public class LineListDto : EntityDto<int>
    {
        public string FactoryName { get; set; }

        public int WorkshopId { get; set; }

        public string WorkshopName { get; set; }

        public int ProductModeId { get; set; }

        public string ProductModeName { get; set; }


        /// <summary>
        /// 线体名称
        /// </summary>
        [DisplayName("线体名称")]
        public string LineName { get; set; }

        /// <summary>
        /// 线体代码
        /// </summary>
        [DisplayName("线体代码")]
        public string LineCode { get; set; }

        /// <summary>
        /// 最后编辑时间
        /// </summary>
        [DisplayName("最后编辑时间")]
        public DateTime? LastModificationTime { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [DisplayName("创建时间")]
        public DateTime CreationTime { get; set; }
    }
}